package StudyCode.summary.Basic.numberformat;

import java.text.NumberFormat;

/**
 * 版权所有 科技与人文(www.tah1986.com)
 */
public class PercentageFormat {
	public static void main(String[] args) {
		NumberFormat percentInstance = NumberFormat.getPercentInstance();
		System.out.println(percentInstance.format(0.8));
		System.out.println(percentInstance.format(0.11));
	}
}
